#ifndef __GOFGAME_DUNGEONKEEPER_UI_PRODUCE_UPGRADE_H__
#define __GOFGAME_DUNGEONKEEPER_UI_PRODUCE_UPGRADE_H__

#include "gofgame/common/ui/ManualBubbleEventArgs.h"
#include "gofgame/dungeonkeeper/game/skill/ProduceManager.h"

namespace gofgame {
	namespace dungeonkeeper {
		namespace ui {

			using namespace gofgame::common::ui;
			using namespace gofgame::dungeonkeeper::game::skill;

			struct ProduceUpgradeEventArgs : public ManualBubbleEventArgs {
			public:
				ProduceUpgradeEventArgs(
					Component *sourceComponent,
					const ProduceElementViewInfo& produceElementViewInfo) 
					: ManualBubbleEventArgs(sourceComponent),
					produceElementViewInfo(produceElementViewInfo) {
				}

				ProduceElementViewInfo &getProduceElementViewInfo() {
					return this->produceElementViewInfo;
				}

			private:
				ProduceElementViewInfo produceElementViewInfo;
			};
		}
	}
}

#endif //__GOFGAME_DUNGEONKEEPER_UI_PRODUCE_UPGRADE_H__